package com.vercon.commonmirror.mode;

import java.io.Serializable;

public class GreetingCardHttpBean implements Serializable {

    /*
    * "data": {
        "smallImgUrl": "http://file-server.i-mrmax.com/uni-applet/public/greetingCard/gc1.png",
        "receiveConfig": {
            "x": "20",
            "y": "80",
            "fontsize": "32",
            "color": "ffffff"
        },
        "gaveConfig": {
            "x": "20",
            "y": "20",
            "fontsize": "32",
            "color": "ffffff"
        },
        "blessingConfig": {
            "x": "20",
            "y": "40",
            "fontsize": "32",
            "color": "ffffff"
            "width":"160"
        },
        "receiveCall": "小明",
        "giveCall": "小红",
        "blessing": "生日快乐"
    }
    * */

    public String _id;

    public String smallImgUrl;

    public String imgUrl;

    public String receiveCall;

    public String giveCall;

    public String blessing;

    public FontStyle receiveConfig;
    public FontStyle gaveConfig;

    public FontStyle blessingConfig;

    public class FontStyle implements Serializable{
        public String x;
        public String y;
        public String fontsize;
        public String width;
        public String color;

        @Override
        public String toString() {
            return "FontStyle{" +
                    "x='" + x + '\'' +
                    ", y='" + y + '\'' +
                    ", fontsize='" + fontsize + '\'' +
                    ", width='" + width + '\'' +
                    ", color='" + color + '\'' +
                    '}';
        }
    }


    @Override
    public String toString() {
        return "GreetingCardHttpBean{" +
                "_id='" + _id + '\'' +
                ", smallImgUrl='" + smallImgUrl + '\'' +
                ", imgUrl='" + imgUrl + '\'' +
                ", receiveCall='" + receiveCall + '\'' +
                ", giveCall='" + giveCall + '\'' +
                ", blessing='" + blessing + '\'' +
                ", receiveConfig=" + receiveConfig +
                ", gaveConfig=" + gaveConfig +
                ", blessingConfig=" + blessingConfig +
                '}';
    }
}
